package com.maltys.messagingredis;

import com.maltys.messagingredis.redis.RedisConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class MessagingRedisApplication {

    public static void main(String[] args) throws InterruptedException {
        ApplicationContext applicationContext = SpringApplication.run(MessagingRedisApplication.class, args);
        RedisConfiguration redisConfiguration = applicationContext.getBean(RedisConfiguration.class);
        redisConfiguration.test();
    }

}
